﻿#pragma once
#include "afxcmn.h"
#include <vector>
#include "ProcessHelper.h"


// CProcessManagerDialog 对话框

class CProcessManagerDialog : public CDialogEx
{
	DECLARE_DYNAMIC(CProcessManagerDialog)

public:
	CProcessManagerDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CProcessManagerDialog();

// 对话框数据 
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_PROCESS_MANAGER_DIALOG };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP() 
public:
	CListCtrl m_ProcessListCtrl;
	vector<PROCESS_TABLE_ENTRY_INFO> m_Ring3ProcessList;
	ULONG64  m_ProcessCount = 0;

	virtual BOOL OnInitDialog();

	void initDialog();
	void SeEnumProcessInfo();
	void CProcessManagerDialog::SeAddProcessInfoItem(PROCESS_TABLE_ENTRY_INFO ParameterData);
};
